#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Times;
using Cephei.QL;
using Cephei.QL.Termstructures;
namespace Cephei.QL.Indexes
{
     // <summary> 
	// ! These may be genuine indices published on, say, Bloomberg, or "fake" indices that are defined as the ratio of an index at different time points.
	// </summary>
    [Guid ("CFB2F9A8-CE55-4432-B43D-866C5A6B9DAB"),ComVisible(true)]
	public interface IYoYInflationIndex : Cephei.QL.Indexes.IInflationIndex
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double Fixing(DateTime fixingDate, Microsoft.FSharp.Core.FSharpOption<Boolean> forecastTodaysFixing);
        
		 Boolean Ratio {get;}
        
		 Cephei.QL.Termstructures.IYoYInflationTermStructure YoyInflationTermStructure {get;}
        
		 Cephei.QL.Indexes.IYoYInflationIndex Clone(Cephei.QL.Termstructures.IYoYInflationTermStructure h);
    }

    // <summary> 
	// ! These may be genuine indices published on, say, Bloomberg, or "fake" indices that are defined as the ratio of an index at different time points. Factory
	// </summary>
   	[ComVisible(true)]
    public interface IYoYInflationIndex_Factory // : Collection_Factory<IYoYInflationIndex, ICell<IYoYInflationIndex>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        // <summary> 
		// these still need to be fixed to latest versions
		// </summary>
	    IYoYInflationIndex Create (String familyName, Cephei.QL.Indexes.IRegion region, Boolean revised, Boolean interpolated, Boolean ratio, QL.Times.FrequencyEnum frequency, Cephei.QL.Times.IPeriod availabilityLag, Cephei.QL.ICurrency currency, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Termstructures.IYoYInflationTermStructure> ts);
    }
}

